/*初始配置*/
var site = {
	interUrl: "http://192.168.2.5:8888/appoint_wx_h5/appointh5back/",
	// interUrl: "http://zxdk.cqfuyuan.cn:8080/appointh5back/",
	apiUrl: "http://47.106.209.119:8088",
	gateUrl: "http://zxdk.cqfuyuan.cn:9082"
}

// html页面路径
var permissionList = [
	{
		"id": "001",
		"code": "001",
		"type": "menu",
		"url": site.interUrl + "pages/appointManage/list.html",
		"name": "预约管理",
		"parentId": "1",
		"level": 1,
		"icon": "icon-activity_fill",
		"background": "#859fae",
	},
	{
		"id": "001001",
		"code": "001001",
		"type": "menu",
		"url": site.interUrl + "pages/appointManage/list.html",
		"name": "预约名单",
		"parentId": "001",
		"level": 2,
		"icon": "icon-activity_fill",
		"background": "#859fae",
	},
	/* {
		"id": "001002",
		"code": "001002",
		"type": "menu",
		"url": site.interUrl + "pages/appointManage/setting.html",
		"name": "预约设置",
		"parentId": "001",
		"level": 2,
		"icon": "icon-activity_fill",
		"background": "#859fae",
	}, */
	{
		"id": "002",
		"code": "002",
		"type": "menu",
		"url": site.interUrl + "pages/systemSetup/setting.html",
		"name": "系统设置",
		"parentId": "1",
		"level": 1,
		"icon": "icon-settings",
		"background": "#859fae",
	},
	{
		"id": "003",
		"code": "003",
		"type": "menu",
		"url": site.interUrl + "pages/dotManage/list.html",
		"name": "网点设置",
		"parentId": "1",
		"level": 1,
		"icon": "icon-laptopmac",
		"background": "#859fae",
	},
	{
		"id": "004",
		"code": "004",
		"type": "menu",
		"url": site.interUrl + "pages/household/list.html",
		"name": "户籍地设置",
		"parentId": "1",
		"level": 1,
		"icon": "icon-school",
		"background": "#859fae",
	},
	{
		"id": "005",
		"code": "005",
		"type": "menu",
		"url": site.interUrl + "pages/adminUser/list.html",
		"name": "管理员设置",
		"parentId": "1",
		"level": 1,
		"icon": "icon-lock_fill",
		"background": "#859fae",
	},
	{
		"id": "006",
		"code": "006",
		"type": "menu",
		"url": site.interUrl + "pages/userCenter/edit.html",
		"name": "账户设置",
		"parentId": "1",
		"level": 1,
		"icon": "icon-people_fill",
		"background": "#859fae",
	},
];

// 子管理员菜单
var permissionList2 = [
	{
		"id": "001",
		"code": "001",
		"type": "menu",
		"url": site.interUrl + "pages/appointManage/list.html",
		"name": "预约管理",
		"parentId": "1",
		"level": 1,
		"icon": "icon-activity_fill",
		"background": "#859fae",
	},
	{
		"id": "001001",
		"code": "001001",
		"type": "menu",
		"url": site.interUrl + "pages/appointManage/list.html",
		"name": "预约名单",
		"parentId": "001",
		"level": 2,
		"icon": "icon-activity_fill",
		"background": "#859fae",
	},
	{
		"id": "003",
		"code": "003",
		"type": "menu",
		"url": site.interUrl + "pages/dotManage/list.html",
		"name": "网点设置",
		"parentId": "1",
		"level": 1,
		"icon": "icon-laptopmac",
		"background": "#859fae",
	},
	{
		"id": "004",
		"code": "004",
		"type": "menu",
		"url": site.interUrl + "pages/adminUser/list.html",
		"name": "管理员设置",
		"parentId": "1",
		"level": 1,
		"icon": "icon-lock_fill",
		"background": "#859fae",
	},
	{
		"id": "005",
		"code": "005",
		"type": "menu",
		"url": site.interUrl + "pages/userCenter/edit.html",
		"name": "账户设置",
		"parentId": "1",
		"level": 1,
		"icon": "icon-people_fill",
		"background": "#859fae",
	},
];

// window.localStorage.setItem("backstage-access-permissionList", JSON.stringify(permissionList));